import {ref} from 'vue'

const showSign = true
export const buyData=()=>
{
   let all=ref(true);
   let code=ref(false);
   let machine =ref(false);
   let techlogy=ref(false);
   const allth =()=>
   {
    all.value=true;
    code.value=false;
    machine.value=false;
    techlogy.value=false;
    console.log(all.value)
   }
   const codeth=()=>
   {
    code.value=true;
    all.value=false;
    machine.value=false;
    techlogy.value=false;
    console.log(code.value);
   }
   const machineth=()=>
   {
    machine.value=true;
    all.value=false;
    code.value=false;
    techlogy.value=false;
   }
   const techlogyth=()=>
   {
    techlogy.value=true;
    all.value=false;
    code.value=false;
    machine.value=false;
   }
   return{all,code,machine,techlogy,allth,codeth,machineth,techlogyth}
}